changes to make the mimicing script actually good