improved jvm script