bug fix in installer, where sql files were loaded inside of the version check loop