Update of script with normalisation calculation