Rewrite array generation for days of week to be neater