Correcting order of the execution of the env scripts #57