Format before script commands