Fix some bugs and standarize code
Change callback condition
removes po condition
Merge pull request #26 from NEURS/broadens_filetypes

Broadens filetypes