changed python loader to allow custom environment name