Added createJar function