Added an hotfix to rake namespace which conflicted with code. Moved to rake_invoke (the rake task)