new initActions function created so the module can be loaded by form (this is a work in progress)