Removed syso lines. This is used for jnlp