Set the projects directory beforehand.