Load scripts without preloading a composer instance to avoid side-effects, fixes #3155