more updates to inspection form, and fixing error for shorthanded php