Created a script for replacing spaces