Updated restore_env script to accept env-file argument