2 scripts in 1