Refactored for name_spaceing, modified postAction script