Make dynamic install more flexible by adding some more options