added check for instruction "#interactive" in the script.