add bin script for debugging