added .genapp dir support