removed unnecessary sed commands from scripts