fixed bugs
added new script