added option for passing the notes platform