Fix #86 Update rakefile to use invoke method