fixed automatic installation of sql files directory