Fixing drag scripts.