registerSignal() function calls moved from initialize() to static variable declaration