Attempt to finally fix sub directory access in scripts