add to offline groovy