update ci.sh to kill screen session
test on osx and linux