Check if Directory Exists before attempting to get Scripts