to give more dynamic options to install function
Merge pull request #295 from vnitinv/bug-fix

to give more dynamic options to install function