created master rake task and did some bug checking on it.