modified code to decompile apps only for profiling