Change payouts to transfers
Fix some syntax errors