define resources loc and init bat file for logger