Made some tweaks.
Added some settings.