Improved self-hiding

Detects its file name/path to accomodate different install methods.