Fixed bugs in Sector and databaseSectorScript

Should work now !