fix a TypeError when setting environment variables;
use a Hash to pass params to PerfProf#profile