Readded try catch clause to initialize_data.py