upgrade to use the new ENV_DIR feature of buildpacks