Beware that this won’t work if your script is above 4Kb ! (See this post ). So it only works for small script…