added support for precompile external grunt script.