write themes.php & plugins.php if not exist