Minor modifications with interp for compile

and script and complete example of the objective