Updated several scripts and fixed card inventory