Script : Make it more dynamic