Add options to print_mem