WOOHOO draft one of canvas script actually works fine
Some error logging improvements...to be tested with the midterm