added extra params to osd.pp