modified option loader