Change Case of Substitute names

Now SP instead of Sp