script to do what the old go-bin does

same functionallity and one third of the code \o/