Adding copy/pasteable code to demos