make this script actually work