Added pause to python execution while stage in motion.