Change handling of dynamic and static modulepaths