proper remote cookbook handling