os stores cwd; added initial '/' to '/home' and '/media'