make prompt exportable
implement timeout function
use Carp::croak instead of die
Change environment variable
Change timeout seconds