Make sampletool work locally