generate sources plugin