add 'shell script version of amtc', for testing purposes