fix comar script