change sh to run in local
little changes to test