removed the remove changelog file at the end as this was causing issues with jenkins.. Rather than appending the log info on first create with >> we create the changelog file with the initial data with > therefore deleting anything that was in the file from the last build