Bash Script Functions With Parameters