using initial script to run MWD on mic
using proper layer condition calculations for the MIC