adding method to get OS specific image path