stupid script fixes