fixed script, added correct bitset