You can also call your command-line scripts and utilities from within your AppleScripts. Use the “do shell script” command for that. For example, if you have a Perl script called “makeHTML” in “/usr/local/bin” you could use
do shell script "/usr/local/bin/makeHTML"
to run the command.