more dynamic jar generation