Updated to only update remote files if requested