Fixed frandom & urandom thanks to @VegarS