updated paths
added check for executableness