Cleaned some code on "paths" directive