Maybe we should use shell scripts instead of Javascript