[nim, mj] updated the spawn_env script, and added script to setup the backup