new commits

add faction cleaning and fixed standalone script