add default script support
fix 2D plot bin size problem