How to use autocal_asc in a script?