Fixed activate script for bash