changed spawn to common.npm