adding a script to sync proxy with master - handing err