Fixing script.sql