Update JSON.sh

Parse options only when script is being executed