added a print version of the script

Used JaMeZ' new changes of the external function