Adding references and do script