revise the linux deployment script a bit