Adds cleanup scripts, update hooks and deletion scripts