Fix meta data api for worker scripts