Can we add the step ```utils.run(map_cmd).stdout.strip('\n\x00')``` into this function?