set margins through command line variable instead of template