allowing functions to be used in the express config