fixed the local_gradebookcoredb install code