Point at script example and tidy PHP issues