start of php hookup, and image/touchups on #2