try changing script type to bash