add option -n and use gs