rake task for assigning locations