Set BASE_DIR properly