Creating script to report activity of a user