Work on fig scripts