fixes script urls