Add in variable functions for the report viewer