Unified both run actions to minimize the code, check date also on store path