Insertfigures temporary solution

A solution that works for the moment, but should be polished