Adding background image randomization code