This post by @Willem,
solved my problem.
I wish we could use Squish without the need to script the Rhino command though.