bug in inline scripting advice - fixed

thanks geoff