allow shim exports, endpoint config for main and format