variable name updated throughout to . Check on  value to ensure it is not a higher value than , if it is higher, set  to . Format of  also processed to trim slashes and add the slash as required.