added hooks to load bg images