copy syberia_config function from the syberia package