better management of PATH variable