added variable depth range script