update sync script with exclusions and delete trash