reducing background images size and moving random bg generator function to services py