php scripts run now, still a few errors