change shell detect from $0 to $SHELL