Added export link + bugfixes in basic generator code