Rename plugin and make URL conditional more flexible