add prefix to functions, and environmental overrides for make