I don't know the script format's internals. Use [[https://github.com/akerou/fvp]]