Added script to log android stack errors