handle shell scripts