Fixed the SQL scripts

- Fixed the names of the procedures in the SQL scripts