Augmenting the main files with signal handling.