deprecating previous script