test main script