Renamed "BASEDIR" to "BASE_DIR".