version 1.3.1 and fix to the multi build template script