Support standalong jar mode