Wrap conditional statement in block
Ignore bin directory