added app argument to rake task