update directory and add local testing python file