added the ability to set the project directory