fixed up giotto cmd script