add sample script using dbaccessor