Added option to customise background transparency.