python snapping script