Changed 'output' to 'paths'.
Switched to use 'paths' in place of 'output'.