modfied SQL file includes LOGS table