Added ctrl_c function to trap user installation interruptions