Added ability to change default margins