Made some changes to the background image scripts.