Clean up deploy config and add binstubs.