tweaked rake scripts