Added error passing for last saved media