set cfgfolder to choose folder with prompt "Choose the Configs folder:" default location alias "MacHD:Folder1:Folder2:Configs:" set cfgposix to POSIX path of cfgfolder set sourcefolder to choose folder with prompt "Choose the source folder:" default location alias "MacHD:Folder3:Folder4" set sourceposix to POSIX path of sourcefolder set targetfolder to choose folder with prompt "Choose the Target folder location:" default location alias "MacHD:TargetFolder" set targetposix to POSIX path of targetfolder do shell script "/usr/bin/perl /PathToPerlScript &> '/Logs/Reprocesslog.txt'" & " -t " & targetposix & " -s " & sourceposix & "-c" & cfgposix set nextdate to do shell script "date" & " +%y%m%d_%H%M%S" # some more code will go here to open the log file in console, so that one can see the log updates in real time.