added pry gem, fixed tool save bug