script cleaning up