Finalize map script, model text file