update script with cleaner syntax :lipstick: