[UPDATE] add more functionality to rakefile