Remote script cleanup.