Optimized and Translated addpost.sh