Moved PowerShell script to a separate file