updated sretrive to use shell like setup