Improving script loading performance.

Signed-off-by: Ronald Huereca <ronalfy@gmail.com>