Sal: shouldn't this require an additional 
elif algo == 'AK4'
?
Using an ak4 jet producer when algo is 'AK5' is quite prone to mistakes and misunderstandings...