update build script.
Move resources.