added border radius
added jpg compression option to command line