Calling hostname on purge/refresh