allow specifying upload port as option
add ENV config and bash completion