add version to trap ctrl-c