Support for variable location based on p tags.

A little added functionality I needed.