Total bin script overhaul