Just fixed the env a bit. This one kind of works if i remove srec.