Bash Script Use Variable From Another Method