change casper behaviour