Fork to allow for read/write callbacks