added update-alternatives script for all executables in directory