Commit script used to format files and check errors