It now saves a file, and then executes it, solving some issues