Wrapper for running locally