Change the commit method to projectcommit and adjusted everything else cuz of conflict