script to make things work