Fixes #5: add autoflipping client script.