added autodestruct option in high level interface