final sh script