Add precommit and remove local_variables.sh