removed \makeatletter \makeatother from mycommands.sty since only needed if in main document