reorganize build/upload/registration