add figure options
add print figure and script