Remove whitespace from script