hardcoded path changed to dynamical - fixed