initializeHook() added to main.py