BASE_DIR changed to dynamic