handle script urls