updated module to rely on process exports