extended some scripts