rewrote _clean so that it removes stuff from the beginning and the end, updated string_match feature to use fs.i_cleaned and fs.j_cleaned