updating printlevels script