WIP: convert to sh