Update Magazine automat
Cosmetic changes
Add mod (%) operator