add pastebox code, selectedfiles changes to cwd
added UploadExternal()