Made bastion setup work in sh