Update run.sh

added tentative preview function