checking glob before chmod +x'ing scripts in profile script