Revert "Fixed runexamples"

This reverts commit 0da480d804417da85c47f83c80089f7058f6bba7.