Your directory is not the first in PATH because you just put it at the end with:
Code:
PATH=$PATH:[yourdir]
This statement associates the variable PATH with $PATH (the previous content of PATH) followed by ":" then [yourdir].
You just have to reorder the assignment, like this:
Code:
PATH=[yourdir]:$PATH