Replaced step finder with a regexp based solution that has no external dependancies.