changed final to run the cself estruct script properly