Use built-in ordinal function
More informative comments
Set header in single item handler
More specific triggers
Move URL parameters so they are in rough order of importance