Added input for status bar & fixed scope issues