remove bashisms from book creation scripts