adding pry
moving lookup to ruby and detecting local file
sh to rb