removed plotting from script