Move the pearl_init to pearl