updated rakefile and app file