Make sure executables and paths exist before using them