add conditional to binary to detect how installed