Refactor build to remove native scripts