script to trim assembly figures + new figures