install pre commit hook; misc