update for work paths and add open code