write files to log directory for successful heroku deployment
change json path - look inside ./log