Rohan, Shruthi | #1373 | Modified the groovy script for variable dosing instructions