Simplified template selection via python programming