added function to run as script to see some demos