removing redundant scripts