Only concern is that it shouldn't set a $JAVA variable visible to the other script while using a different algorithm for creating it. Which is certainly avoidable. :)