Added discrimination based on name. Added possibility to show logs or download