Adding params to txt file