pysam allow external