clean up external script idea