Improved version, libcras is needed after all...