generate shim config