Added marg compile and publish script