Fixed up bin script