Added Params

I removed the static information such as server site code and sitecode from the script and put in Params.