Modify build script to fail archive if repo is dirty

Tags the current commit if ok to archive
Updated archive build script
Update build number to 24