get import function working and add a command to get the key header information