deleting old images and updating scripts library