Fixed error: wrong location of injected custom script.