modified pre-push