Environment is now taken from params