Added chmod, stream and gui