set grammar for run