Replace the script directory with the new bin directory