Add paths generation and clearing