Export module based on environment