ASN param added, output file functionality add