updated precommit hook
implemented compiling and deploying