Stock market related scripts