%HOME% and %PWD% variables are now processed in prepare_path