Tweaked not_enough_priorities script to work for HSSP