Use BASE_DIR when preparing