use pbcopy and remove dev_init