add proxy support
add formatting pattern and command line arguments