Remove defer from scripts. Fixes #60