improve capture.sh a little

Conflicts:
	.gitignore