Check for arguments in Rake task and assign index name dynamically