Setup logging in the directory build was called from if there is no volume argument
Fix histogram generation in TEMAlign script