Use internal priv_dir function.. *why it breaks, i dont know *.