added functionality to define instruments as hex values on command line