adding magrathea script