Another security-related enhancement would be to encrypt the contents of the psd1 file as a CMS message.