I need some help. I have a button on a document that executes some @commands. I want these commands to execute automatically when creating a new document. I know (from experience) that @commands and other ui functions are not supported in that context. Is there an alternative to automatically executing @commands at document creation?