revert script loading mechanism to url based