Load script before returning. Fixes #475