write node bash