changed reason string input to use @ST-DDT's code

thanks for that, by the way