working zbar framework, hacked fix for ip script