Switched bash to rakefile, should fix #1