New script for reverting url