creating rake tasks for inv sync and upfront refresh