improved the code generation on the slider box to include normed parameters