Added custom background support