Changed script type to bash because not all sh are created equal