Pull firsts adjusts with ruby

Implementing Issues #27 #28 #29 and #30