Added more methods to the depth compensation script