Prepares for release