Switch to script directory when run so relative file access works.