added options file loading