Prepare code to distribution