create buckets on targetrgw
refactor code