No for your code you need to use this code.
function modulename_overlay_paths...