added resource loader option