updated basic example script to be background