changed copy sliced py files to a build command