removed the need for detectde.sh on linux, other changes, updated rev