Comments added.
Messed up variables.
Support custom URLs.
No mistakes.