pass in target option to specify bucket target