Fixed the asset gen tool.