added CONTAINER_DIR and APE_ROOT_DIR to context