Better version of the ebuild (still not very good)