edited index.js with right export cpommands