added required flags
updated logs