working more on loading of bg script