Fixed casper script