LoadVariables converted to QueryDatabase, got rid of uneeded method wrap