added Pbp v17 JECs to commonFunctions