add console as package; modify scripts