Fix some trival bugs
Change some configurations and scripts