Changed this for both Maria and MySQL scripts