fixed spec running scripts