Generate into BASE_DIR