Added logic to find both internal storage and internal RAM memory
Merge branch 'find_ram'