main script set to read the isAssembly flag