script location swap