added ctrl-c trap around tail -f to allow script continuation