Along with the work being done for issue #3972, create a separate folder per module that will contain scripts that should be executed when the module is imported (e.g., startup scripts that load aliases and default resource groups). Make sure the folder is copied to the output directory and the functionality of the scripts is included in the .psm1 file that is created in the UpdateModules.ps1 script.