add static pathsm tidy up a little