added new scripts for java7