XD-2230 Fixed script module options and ability to specify inline variables