add useMiniAOD option, adjust input collections where appropriate