added check functions for the creation of the ifg
drwxr-xr-x - ir