Fixed bug in stage_upload
new routines for uploading extra transition parameters and line-mixing