I got it fixed. I just had to debug some of the errors I received in the script editor. Once those bugs were gotten rid of, the executable works fine.