Database script and change classes