Use "$@" instead of $* and test for empty params