implemented options in portable