Made script actually do something