found a way of dealing with .exe extension depending on OS