compiling images for use on remote server