Fix jar scripts