- improved the autotest script