normalizing script and link includes