minor fix
merge
try - catch to make preparation more robust
new Syntax style
clear base workspace before publishing to avoid side effects