standardizing spawn_env.sh and thus removing the need for the sample file