Added database permissions to installer scripts