Automate ctng

fixes #3