change mode of print_key to be executable