added Portable Mode feature