changed globbing from python file to shell
changed dtype to type