part 1 of a macro to make this all easier
more work on macro
add JAVACMD