check for executable rather than file existence