diff --git a/.Rbuildignore b/.Rbuildignore
index 3bfb96842c63b284cf0194d4f66d51656f366519..6001a40449a4c562264a089b893335898853fb5d 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -13,3 +13,5 @@
 ^.*\.Rhistory$
 ^cran-comments.md
 ^README\.Rmd$
+^.gitlab
+^README.md
\ No newline at end of file
diff --git a/DESCRIPTION b/DESCRIPTION
index 553a7042d41dd4d5806b2beccbd9fabe93f3388a..f985e655383cf0af9099486fca1f4c1e131e1164 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,8 +1,8 @@
 Package: onlineforecast
 Type: Package
 Title: Forecast Modelling for Online Applications
-Version: 0.10.1
-Description: A framework for fitting adaptive forecasting models. Provides a way to use forecasts as input to models, e.g. weather forecasts for energy related forecasting. The models can be fitted recursively and can easily be setup for updating parameters when new data arrives. See the included vignettes, the website <https://onlineforecasting.org> and the paper "Short-term heat load forecasting for single family houses" <doi:10.1016/j.enbuild.2013.04.022>.
+Version: 1.0.0
+Description: A framework for fitting adaptive forecasting models. Provides a way to use forecasts as input to models, e.g. weather forecasts for energy related forecasting. The models can be fitted recursively and can easily be setup for updating parameters when new data arrives. See the included vignettes, the website <https://onlineforecasting.org> and the pre-print paper "onlineforecast: An R package for adaptive and recursive forecasting" <arXiv:2109.12915>.
 License: GPL-3
 Encoding: UTF-8
 LazyData: true
diff --git a/README.md b/README.md
deleted file mode 100644
index d98e4b8a568fed0f93263eec092aa6dc608c55be..0000000000000000000000000000000000000000
--- a/README.md
+++ /dev/null
@@ -1,48 +0,0 @@
-
-<!---usethis::use_readme_rmd() -->
-
-<!-- README.md is generated from README.Rmd. Please edit that file -->
-
-# onlineforecast <img src='misc-R/figures/onlineforecast.png' align="right" height="139" />
-
-<!--
-usethis::use_cran_badge()
-usethis::use_lifecycle_badge("stable")
-usethis::use_logo("misc-R/figures/onlineforecast.png")
--->
-
-<!-- badges: start -->
-
-[![CRAN
-status](https://www.r-pkg.org/badges/version/onlineforecast)](https://CRAN.R-project.org/package=onlineforecast)
-[![Lifecycle:
-stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
-[![CRAN RStudio mirror
-downloads](http://cranlogs.r-pkg.org/badges/onlineforecast)](https://cran.r-project.org/package=onlineforecast)
-<!-- badges: end -->
-
-The *onlineforecast* R package computes new forecasts whenever new
-observations becomes available by using recursive estimation. The
-package makes it easy to setup models to be used for online forecasting,
-where the user can create their own online forecast-set-up with their
-own inputs. The pacakge is created based on the authors long experience
-of formulating time series models which use weather forecasts as inputs.
-The challenge comes from the overlapping time series as the forecast
-needs to be updated whenever the weather forecast is updated.
-
-See more on [onlineforecast](https://onlineforecasting.org/) webpage
-
-## Installation
-
-You can install the released version of onlineforecast from
-[CRAN](https://CRAN.R-project.org) with:
-
-``` r
-install.packages("onlineforecast")
-```
-
-## Example
-
-See examples on how to use the package on the website,
-[onlineforecast](https://onlineforecasting.org/examples.html) where
-multiple vignettes demonstrate how it works.
diff --git a/cran-comments.md b/cran-comments.md
index 437dde459efb458e3fc75cff34c6d713f5e318bb..b5cc3648ff9a2a5ddcbd175eafd60459fcf2b34f 100644
--- a/cran-comments.md
+++ b/cran-comments.md
@@ -1,3 +1,11 @@
+#----------------------------------------------------------------
+# v1.0.0
+
+We have not changed much, but we have written a paper and submitted it to
+JSS. So now we have set the major version forward.
+
+
+
 #----------------------------------------------------------------
 # v0.10.0
 
@@ -9,7 +17,6 @@ should be fully backward compatible.
 
 
 
-
 #----------------------------------------------------------------
 # v0.9.3
 # Response to review of v0.9.2 by Uwe Ligges
diff --git a/inst/CITATION b/inst/CITATION
index 709f15713be33af7dc7a49e09f2b938d4260b181..ccd75abe09ae9f87213aba168e52054769763aad 100644
--- a/inst/CITATION
+++ b/inst/CITATION
@@ -1,24 +1,22 @@
 citHeader("To cite onlineforecast in publications use:")
 citEntry(
   entry    = "Article",
-  title    = "Short-term heat load forecasting for single family houses",
-  author   = "Peder Bacher and Henrik Madsen and Henrik Aalborg Nielsen and Bengt Perers",
-  journal  = "Energy and Buildings",
-  year     = "2013",
-  volume   = "65",
-  number   = "0",
-  pages    = "101-112",
-  doi      = "10.1016/j.enbuild.2013.04.022",
-  url      = "https://onlineforecasting.org",
-  textVersion = paste(
-      "We are in process of writing a journal paper about the package, but for now we referer to the paper 'Short-term heat load forecasting for single family houses', in which the implemented modelling is described."
-  )
+  title    = "onlineforecast: An R package for adaptive and recursive forecasting",
+  author   = "Peder Bacher and Hjörleifur G. Bergsteinsson and Linde Frölke and Mikkel L. Sørensen and Julian Lemos-Vinasco and Jon Liisberg and Jan Kloppenborg Møller and Henrik Aalborg Nielsen and Henrik Madsen",
+  Journal  = "test",
+  year     = "2021",
+  eprint   = "2109.12915",
+  archivePrefix="arXiv",
+  primaryClass="stat.CO",
+  url      = "https://arxiv.org/abs/2109.12915",
+  textVersion = "The article \"onlineforecast: An R package for adaptive and recursive forecasting\", see https://arxiv.org/abs/2109.12915. This is the pre-print version submitted to Journal of Statistical Software."
 )
 citEntry(
   entry    = "Manual",
   title    = "{{onlineforecast}: Forecast Modelling for Online Applications}",
   author   = "Peder Bacher and Hjörleifur G. Bergsteinsson",
   year     = "2021",
-  note     = "R package version 0.10.1",
-  url      = "https://onlineforecasting.org"
+  note     = "R package version 1.0.0",
+  url      = "https://onlineforecasting.org",
+  textVersion = ""
 )
diff --git a/make.R b/make.R
index 7379bf049dc0a85612a54180dba501a367d55ae0..2c38cc63f845bc9f9d060b5d79c84664c551a20d 100644
--- a/make.R
+++ b/make.R
@@ -56,21 +56,21 @@ library(roxygen2)
 # # Run tests in a single file
 # test_file("tests/testthat/test-rls-heat-load.R")
 
-
 # ----------------------------------------------------------------
-# Build the package
-document()
-build(".", vignettes=TRUE)
-
-# The version (change only in DESCRIPTION)
+# The version (move the value from DESCRIPTION to other places, so only update it in DESCRIPTION)
 txt <- scan("DESCRIPTION", character())
-ver <- txt[which(txt == "Version:") + 1]
+(ver <- txt[which(txt == "Version:") + 1])
 
 # Update CITATION (change the year manually)
 txt2 <- scan("inst/CITATION", character(), sep="#", quote="")
 txt2[grep("R package version",txt2)] <- paste0('  note     = "R package version ',ver,'",')
 write.table(txt2, "inst/CITATION", row.names=FALSE, col.names=FALSE, quote=FALSE)
 
+# ----------------------------------------------------------------
+# Build the package
+document()
+build(".", vignettes=TRUE)
+
 # Install it
 gzfile <- paste0("../onlineforecast_",ver,".tar.gz")
 install.packages(gzfile)