added documentation to the mic script