Does all cleanup first before creating a deployable version