Always return a promise from parseScripts.

Removed output attribute from methods.