Modified Carrot script