update Rakefile to support version config