Add start and pre commit hooks