fix yml file location
fix array indexing issue
modify logging string and update methods