Make fig prefix variable, not hard coded