# Diagnostics Statements The following statements allow simple maintenance tasks to be scripted: - local preferences: open the preferences window. - local enable event log: enable event log logging. - local configure license: open the license configuration window. - local load license "FILENAME": load the license key stored in the file. - local deploy static "DIRECTORY": (deprecated) deploy the software to a specific folder; only applies to pre-2019 ClickOnce-based releases. - local diagnostics: open the diagnostics window. - local keychain: open the keychain window. - local garbage collection: run garbage collection. - local data cache: open the data cache window. - local help: open help window. - local feedback: open feedback window. - local optimize application: (deprecated) run the ngen application optimization; only applies to pre-2019 ClickOnce-based releases.