Updated env setup script to enforce the correct directory.