script java print