deployment tweaks for api location