Hi,
Send me the dbms_outputs that your script has produced.. (your script is written to output the commands before executing them)
open the dbms output, execute the script and send me the output..
The partition names that the script decides for dropping, can be wrong.
This may be related with the if statement there.. ( IF V_HIGH_VALUE <= TRUNC(SYSDATE,'MM'))
anyways, Send me the dbms_outputs that your script has produced..