added preliminary drag scripts (but left commented out)