Converted additional System.err.println to Logger.error
Fixed exec bit