Refresh script (fixes #88)