modifies initialize_experiement to handle image IOError