adds prepare_for_cane script to fix travis-ci