Porting the project from bash to sh