added prefix option to directory asset