Split powershell script and added check for download file already existing