added basic loopback script