Rework finished

Now it parses to a PHP code and just execute it.