made tablename possible to change, hardcoded, in patch.sh