fixed activity script