Working bin script.