tidied up paths to resources