restore castle packages