running jar check for every command thats run