Added directory checking + check to see if project exists