Fix script not being loaded at startup