Add masterscript.
Add dependencies.