How can I control the Terminal in the current space with AppleScript?
Do you need to actually have it input into a terminal window or is that just the way that you found it to work? I am not sure if you are aware of this or not but you can run shell scripts directly from an AppleScript by using this "do shell script" command. As an example:

do shell script "echo snow"