Create run.php and function listdirs_safe with hardcoded args