changed last_month to last_payout, added hook_cron() code