add support to configure jar directory
add support to images