Added random background image functionality