fixed bug
Moved export image functionality to n4d