Changes to the procedures and triggers and stuff