revert to local script