style/script work bug fixes