Make sure fn_check_permission gets loaded & add new tables HMS uses