added jar and terminal arguments