Remove unused script commands