Fix script to work with sh