corrections for building and changes to the cleanup process to handle the new changes to the perl scripts.