Fixed minor bug with setup scripts