Optional rems

Added a variable to turn off rems when not required and/or if you want
to reduce file sizes.