remove BD_DBNAME calls
fix permission issue on boot files