add option pool_name
add comments
set -x after shebang
change urls
add complete command with all possible options