add db reset
add detection for prefix with or without _
add last step
add proper table mapping