cleanup for int and header scripts