Addding copy and script phases to build.