first implementation of crab -publish for DBS3