Updated load_segment so that it is actually working, needs more work though