use string_utils.preprocess instead of commands