fixed issue in tar download, extract, bash, link resource flow, previous was broken for an existing setup