Make sure the text file has the correct permissions to be written to if you want to use GW's script.