Fixed bugs with creating certain stfs packages