option added for internal and exernal storage