population script working