Updated manpagemaker.sh with new functions