Molecular structure preparation scripts