runProject function

Runs the opened project