added custom background support