added support vor negative values in create_pi_labels.py