modifications to commands to add headers to list file.