Fixed custom generation path

Cleaned up comments