refinments script for generate static contents