Fixed another program with the grid algorithm (thin cluster crash)
Changed remote wrapper scripts to source .bash_profile as well