optimise binary and release processing further, and clean up dead parts
minor script updates