run a comand BEFORE pn, eg to check for calendar week