Is APP_DIR overridden somewhere?