Fixed an issue passing strings with space characters to the script as args