Generate external script

Slightly modify the meaning of -x flag. From now, you can create a
script that is only using external resources (github) instead of the
internal ones.