make log and run dir