Code for tweaks made to https://wiki.bright-interactive.com/