Setup example script to be more standalone