now using exportFuncs(); exports depending on NODE_ENV