Use shipped versions of scripts [COOK-3816]

Scripts are executed as root and no checksums are verified.
This can lead to unwanted code execution.