Removing unneeded scripts