extra handling for hdr files
added new command handlers