Added check to make parameters not print if they are empty.