src is now read correctly
Modified existing figure code to work (approximately) with new figure type