add script for figures drawing