Add dependencies() and build() to script.