Change script to coffee
Sort productions
Add next sunday for end_day
Make end_day = 7 on certain condition
Simplify the query
too_long validator
too_short validator
Overlaps