changed how temp data is saved and added config file to the repo as backup