finish prompt script currently has to be executed by sourcing the script