Changed the way jar is created