added restart.txt
updated for env variables