Add run function to parse the string into statment.