SQL script, insert message working