removed bug that allowed just one receive per script