Set the project directory before loading setting up form