updated 10 minute sample script

works but need to set time etc properly