now handling Input.ExecuteAction
better program arguments handling
better error handling
removed old comment