making rake work independently of rails