added debugging for #30, and remote server bounce feature