fixed space-in-dirname issues and tidied up spawn and args
added forgotten metro license