script for analyzing apps behaviour