installation: import and sql fixes