Why you create directories by exec???
It's not good idea.