I kept all signal handling commands in a a new function - initialize