Suppress errors if not given p or s parameters
Added missing div tag. Oops!