bar status script