Create rake task for db regeneration