Using new environment and project objects.
fixing for use of project object.