updated rakefile and docs