Changed ottol_name query to an outer join with nodes; replaced string appends with python formatting where straightforward