updating rakefile to use exec rather than system