reinvent package json
improved pkg with scripts