scripts and some features