small fixes of setup scripts