added check that project names can't contain spaces