Python and bash scripts for setup