added the ability to save depth frames