def main(): createModFile() pluginsPrefsPath = cmds.internalVar(upd=True)+'pluginPrefs.mel' enableaPlugin(filename=pluginsPrefsPath) createShelfBtn()